package cn.easy.kitchen.domain;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import cn.easy.base.domain.core.AtEntity;

@Entity
@Table(name = "ck_material_base")
public class MaterialBase extends AtEntity {
	/**编码*/
	private String no;
	/**原物料编码*/
	private String oldNo;
	/**名称*/
	private String name;
	/**分类*/
	private String materialTypeId;
	/**单价*/
	private BigDecimal unitPrice;
	/**计量单位*/
	private String materialUnitId;
	/**基础单元*/
	private String baseUnit;
	/**基础单位*/
	private String baseMaterialUnitId;
	/**租户编码*/
	private String saasNo;

	public String getNo() { return no; }
	public void setNo(String no) { this.no = no; }
	public String getName() { return name; }
	public void setName(String name) { this.name = name; }
	public String getMaterialTypeId() { return materialTypeId; }
	public void setMaterialTypeId(String materialTypeId) { this.materialTypeId = materialTypeId; }
	public BigDecimal getUnitPrice() { return unitPrice; }
	public void setUnitPrice(BigDecimal unitPrice) { this.unitPrice = unitPrice; }
	public String getMaterialUnitId() { return materialUnitId; }
	public void setMaterialUnitId(String materialUnitId) { this.materialUnitId = materialUnitId; }
	public String getBaseUnit() { return baseUnit; }
	public void setBaseUnit(String baseUnit) { this.baseUnit = baseUnit; }
	public String getBaseMaterialUnitId() { return baseMaterialUnitId; }
	public void setBaseMaterialUnitId(String baseMaterialUnitId) { this.baseMaterialUnitId = baseMaterialUnitId; }
	public String getSaasNo() { return saasNo; }
	public void setSaasNo(String saasNo) { this.saasNo = saasNo; }

	public String getOldNo() {
		return oldNo;
	}

	public void setOldNo(String oldNo) {
		this.oldNo = oldNo;
	}
}
